<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>小组成员列表</title>
    <link rel="stylesheet" href="../layui/css/layui.css">
    <link rel="stylesheet" href="../css/select-info.css">
    <script src="../js/jquery.js"></script>
    <script src="../layui/layui.js"></script>
    <script src="../js/myAjax.js"></script>
    <script src="../js/util/batches.js"></script>
    <script src="../js/group/groupMemberList.js"></script>
    <script src="../js/util/jumpadd.js"></script>
</head>
<body>
<div class="select-info">
    <div>小组名：
        <select id="group">

        </select>
    </div>
    <div>成员名：<input type="text" id="userName"></div>
    <div>查询组长：
        <select id="isLeader">
            <option value="2">全部</option>
            <option value="1">是</option>
            <option value="0">否</option>
        </select>
    </div>
    <div>添加时间：<input type="text" id="startAddTime" style="width: 150px;">~
        <input type="text" id="endAddTime" style="width: 150px;"></div>
    <span class="submit">
        <input type="button" value="搜索" onclick="searchAll()">
    </span>
</div>
<div type="hidden" id="group-id-info"></div>
<div style="line-height: 50px;background-color: #009E94;color: white">当前展示：<span id="look-group-name">出错了</span>
<input type="button" value="添加/剔除成员" style=" margin-left: 10px;border-radius: 5px;
        background-color: #ef8428; color: white" onclick="addOrClear()">
</div>
<table class="table_manage">
    <caption></caption>
    <thead>
    <tr>
        <th><input type="button" value="全选/取消" onclick="checkAll()">ID</th>
        <th>小组ID</th>
        <th>小组名</th>
        <th>用户ID</th>
        <th>用户名</th>
        <th>添加时间</th>
        <th>是否组长</th>
    </tr>
    </thead>
    <tbody id="findAll">

    </tbody>
</table>
<div id="page">

</div>
<script>
    layui.use('laydate', function () {
        var laydate = layui.laydate;

        //执行一个laydate实例
        laydate.render({
            elem: '#startAddTime' //指定元素
            , type: 'datetime'
            , format: 'yyyy-MM-dd HH:mm'
        });
        laydate.render({
            elem: '#endAddTime' //指定元素
            , type: 'datetime'
            , format: 'yyyy-MM-dd HH:mm'
        });
    });
</script>
</body>
</html>